.chartPanel {
  width: 100%;
  height: 100%;
  background-color: rgba(4, 21, 62, 0.7);
  border: 1px solid rgba(32, 86, 187, 0.6);
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(0, 65, 185, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;

  // 添加背景渐变效果
  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      135deg,
      rgba(16, 42, 103, 0.3) 0%,
      rgba(0, 0, 0, 0) 50%,
      rgba(16, 42, 103, 0.3) 100%
    );
    pointer-events: none;
    z-index: 0;
  }

  // 添加边框发光效果
  &::after {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 5px;
    border: 1px solid transparent;
    border-image: linear-gradient(
      to bottom,
      rgba(65, 120, 255, 0.6),
      rgba(32, 86, 187, 0.2),
      rgba(65, 120, 255, 0.6)
    );
    border-image-slice: 1;
    pointer-events: none;
    z-index: 1;
  }
}

.chartHeader {
  padding: 10px 15px;
  border-bottom: 1px solid rgba(32, 86, 187, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  background: linear-gradient(
    to right,
    rgba(0, 50, 126, 0.8) 0%,
    rgba(0, 35, 91, 0.5) 100%
  );
}

.chartTitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  position: relative;
  padding-left: 15px;

  // 标题前的装饰线
  &::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: linear-gradient(to bottom, #00f2fe, #4facfe);
    border-radius: 2px;
  }
}

.chartContent {
  flex: 1;
  padding: 10px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
